from django.contrib import admin
from .models import Property

# Register your models here.
class PropertyAdmin(admin.ModelAdmin):
    list_display = ('id', 'title', 'category', 'country', 'created_at', 'updated_at')
    list_display_links = ('id', 'title')
    search_fields = ('title', 'category', 'country')
    list_per_page = 25

admin.site.register(Property, PropertyAdmin)
